#!/usr/bin/env python
#coding:utf-8

from ospath import ospath
import os

for root, dirs, files in os.walk(ospath):
    open('mycd.cdc', 'a').write('%s %s %s'%(root, dirs, files))

